﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo518_2
{
    class Person
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public char Sex { get; set; }
        public string Cardid { get; set; }
        public string Tel { get; set; }

        public Person(string id, string name, char sex, string cardid, string tel)
        {
            Id = id;
            Name = name;
            Sex = sex;
            Cardid = cardid;
            Tel = tel;
        }

        public void Show() {
            Console.Write("编号{0},姓名{1},性别{2},身份证号{3},联系方式{4},",Id,Name,Sex,Cardid,Tel);
        }
    }
}
